- Rating
- 4
- Clarity
- 2
- Confidence
- 2
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes RIVET, a learned approach to accelerate interactive LIMIT-k regex retrieval over large text columns. Instead of extracting index keys directly from the regex surface form (e.g., prefixes, literals, trigrams), RIVET trains a column-specific neural translator that generates indexable keys likely to hit match-rich buckets, based on the data distribution of the target column. The generated keys are used to probe a standard index, and a regex engine verifies all retrieved candidates to guarantee exact semantics. This is an important problem with broad applications — regex search is fundamental in log analysis, data exploration, and information systems, where low latency matters. Experiments across four large datasets show RIVET achieves 35.8 ms median latency, 3.4–36x speedup over the strongest baseline (REI), and up to 1773x over sequential scan.
Strengths and weaknesses
Strengths:
- Strong results. RIVET achieves 3.4–36× speedups over the strongest baseline and up to 1773× over sequential scan, representing a substantial and practically meaningful improvement.
- Important and broadly applicable problem. Regex search is widely used in log analysis, data exploration, database systems, and agent tools (e.g., grep). Improving the latency of interactive regex retrieval has clear practical value.
- Solid experimental evaluation. The paper evaluates on four large datasets, providing strong evidence of robustness and generality. And ablation is solid.
Weaknesses:
- Presentation quality could be improved. Several figures appear AI-generated; carefully designed figures would improve readability and presentation.
- (nit): The ML contribution is relatively limited. Fine-tuning a translator from regexes to indexable keys seems fairly straightforward, with the main novelty coming from the application and system design rather than the learning method itself.
Questions
- The reported latency assumes a co-located GPU setup. How does RIVET perform under more realistic deployment settings, such as CPU-only inference, separate model/database hosts, or smaller datasets where sequential scan is already fast? Can the authors provide some concrete numbers, such as CPU latency or the RPC overhead when the model and database are deployed separately?
- What are the main limitations or failure cases of the method? For example, how does RIVET perform on OOD regex queries or workloads that differ significantly from the training distribution?
- How sensitive is RIVET to the scale and quality of the training data? Does performance degrade significantly when the available training data is limited?
- Several figures in the paper appear to be AI-generated, which weakens the overall presentation quality.
Limitations
I guess the author missed a separate individual limitation section.
Paper formatting concerns
Overall, good format.
Q1 (CPU inference, separated deployment, and small-table crossover):
We added CPU-only inference and small-table scaling experiments, and quantify the data transferred when the translator and database are separated.
The CPU number measures translator inference only. In the separated setting, the sub-kilobyte payload contributes less than 0.005 ms of transmission time at 1 Gbps, so the deployment-specific network RTT dominates. We therefore report the reproducible payload/RTT sensitivity instead of presenting one network topology as a universal RPC cost. The small-table experiment varies only the number of table rows while holding all other query and execution settings fixed, and compares RIVET with a true SeqScan end to end. SeqScan has lower latency at 5K rows, whereas RIVET has lower latency at 10K rows, placing the measured crossover between 5K and 10K rows. This gives a direct deployment rule: use SeqScan below the crossover and enable RIVET above it. We will add these results and the corresponding latency-aware routing guidance to System Setup and Limitations in the camera-ready version.
Q2 (OOD limitations and failure cases):
In the main paper, we evaluated OOD regexes across all four datasets; the results show that degradation is concentrated in queries lacking predictable prefix signal. RIVET’s main limitation follows directly from its fixed key budget: its key path is most effective when matching records concentrate in a small number of prefix buckets that are predictable from the regex. Its advantage diminishes when the regex provides little information about the prefixes of matching records or when matches are dispersed across many prefix buckets. Typical cases include pure character classes, suffix or infix conditions, and queries whose discriminative content occurs late in the pattern.
This failure affects recall rather than result correctness: every candidate undergoes exact regex verification, so the precision of returned results remains guaranteed. If an application must fill LIMIT k whenever at least k matches exist, it can invoke sequential-scan fallback when the key path is insufficient. This restores complete Recall@k. We will make this operating condition, failure mode, and fallback cost explicit in a dedicated Limitations section in the camera-ready version.
Q3 (Sensitivity to training-data quantity and quality):
Limited training data directly affects cold-start performance for a new column. RIVET does not need to wait for historical user queries: its training pairs are generated directly from records in the target column. On Wiki, we evaluate training sets of 100, 1K, and 10K records while fixing the model, training budget, and decoder, and compare them with the Full model on the same held-out Wiki field workload:
Recall@64 increases strictly monotonically with available column data. Increasing the data from 1K to 10K records improves Recall@64 by 36.9 percentage points, and 10K recovers 72.5% of Full. This shows gradual degradation under sparse data, while limited column data already lets the model learn a useful distribution. To separate data quantity from supervision quality, we also add a matched/mismatched-supervision control on IMDB. It preserves the training volume, column data, and key budget while shuffling only the regex-prefix pairing. In this IMDB control, Recall@64 drops by 39.1 percentage points. This shows that, at least on IMDB, performance comes from the correct regex-prefix mapping rather than merely observing more records.
For deployment, we recommend using held-out field Recall@64 as the per-column activation criterion: enable RIVET once it reaches the application's target; otherwise retain REI or SeqScan. We will add this cold-start curve, supervision-quality control, and activation criterion to the camera-ready version.
Limitations (Adding a dedicated limitations section):
In the camera-ready version, we will add a dedicated Limitations section immediately before the Conclusion. It will consolidate fixed-budget OOD coverage and fallback, per-column data and retraining, CPU and RPC deployment, small-table crossover, tested row scale, and the in-distribution theory boundary.
W1 / Q4 (Redrawing the AI-assisted figures and unifying presentation):
Figures 1 and 2 are conceptual illustrations whose visual design used AI assistance; all other experimental figures were generated directly by our plotting scripts from measured results. In the camera-ready version, we will redraw Figures 1 and 2 as author-created vector diagrams, standardize typography, spacing, axes, legends, and labels across all figures, and fix the existing label overlaps.
W2 (Scope and positioning of the machine-learning contribution):
We agree that RIVET does not introduce a new neural architecture and that the main novelty does not lie in model fine-tuning itself. The learning problem is instead how to choose a set of high-yield keys for a regex under a bounded access budget, rather than predicting one target string.
A regex can have several effective prefix keys, and their candidate buckets can have different match yields; online execution can probe at most tmax keys. Whether one key is predicted correctly therefore does not directly capture the final Recall@k or verification cost. RIVET constructs multi-positive supervision directly from target-column records and then uses sampling, dictionary filtering, and deduplication to form a budgeted key set that covers complementary candidate regions. The Key+Verify path applies exact verification, while the coverage-cost analysis explains how probability mass on effective keys affects final coverage and verification cost.
The component results show that these choices matter. At the same tmax=32, random dictionary keys achieve Recall@64 of only 0.002--0.116, one greedy decode reaches 0.45--0.69, beam search reaches 0.945--0.961, and the full diverse key-set decoder reaches 0.985--0.986. Under the same supervision, generic ByT5-Small reaches 53.6% prefix-key accuracy versus 98.9% for the RIVET translator and is about 15 times slower at inference.
We will revise the contribution statement accordingly. We do not claim a new neural architecture; the learning component consists of execution-aligned supervision, budgeted multi-key generation, set-level decoding, and the coverage-cost analysis, while system design and query execution remain the paper’s primary contributions.