Revolutionizing Legal Risk-Performance in Language Models with Nonparametric Datastores

Revolutionizing Legal Risk-Performance in Language Models with Nonparametric Datastores

Revolutionizing Legal Risk-Performance in Language Models with Nonparametric Datastores

As Seen On

Understanding the delicate dance between legal risk and performance within language models can often seem like a game of chess; complex and demanding, requiring strategic foresight into every move’s potential consequence. However, lofty new concepts such as the implementation of nonparametric datastores present an intriguing solution.

The looming presence of legal risk in language models stems from training these models on copyrighted content, a common practice despite its controversial implications. An easy solution, using permissively licensed or publicly available data, unfortunately compromises accuracy indispensable to these models. Traditional methods of eliminating high-risk data post-training have proven futile in parametric models, thus the urgency for a breakthrough.

The echoes of a promising transformation ring through the split of training data into parametric and nonparametric subsets. Utilize low-risk data to refine model parameters while integrating high-risk data in the form of a nonparametric datastore during inference, and you begin to redefine the balance.

Emergent in this tale of progress is SILO, a unique nonparametric language model. By marrying it with the OPEN LICENSE CORPUS (OLC), which is an enriched repository of multiple domains, the parametric side of SILO is not only boosted but secured from any legal ramifications.

The implementation of this solution might sound like a Herculean task, but it isn’t. It starts simply by training three 1.3B-parameter LMs on different subsets provided by OLC. A test-time datastore is constructed, capable of assimilating high-risk data, and this swiftly followed by inference courtesy of retrieval-in-context (RIC-LM) and the nearest-neighbors approach (kNN-LM).

The inception of SILO and use of nonparametric datastores revealed significant improvements. A perplexity test carried across 14 varying domains, including in-domain and OLC-specific data, not only confirmed the challenge of extreme domain generalization, but it also hailed superior performance of SILO when supplemented with inference-time data.

Navigating this new path significantly enhances the risk-performance tradeoff, a daring balance that has for long been a challenge in language models. By leveraging advancements such as the SILO and OLC, the hurdle of domain generalization and the perennial legal risks are considerably mitigated.

As we traverse the uncharted territories of language models and datastores, one thing becomes clearer – rather than seeing the balance between risk and performance as a complex chess game, with the use of nonparametric datastores, it’s possible to rewrite the rules altogether. Bringing together technology and strategic planning in this way poises the industry for innovative leaps, at a pace unimaginable just a few short years ago.

Casey Jones Avatar
Casey Jones
11 months ago

Why Us?

  • Award-Winning Results

  • Team of 11+ Experts

  • 10,000+ Page #1 Rankings on Google

  • Dedicated to SMBs

  • $175,000,000 in Reported Client

Contact Us

Up until working with Casey, we had only had poor to mediocre experiences outsourcing work to agencies. Casey & the team at CJ&CO are the exception to the rule.

Communication was beyond great, his understanding of our vision was phenomenal, and instead of needing babysitting like the other agencies we worked with, he was not only completely dependable but also gave us sound suggestions on how to get better results, at the risk of us not needing him for the initial job we requested (absolute gem).

This has truly been the first time we worked with someone outside of our business that quickly grasped our vision, and that I could completely forget about and would still deliver above expectations.

I honestly can't wait to work in many more projects together!

Contact Us


*The information this blog provides is for general informational purposes only and is not intended as financial or professional advice. The information may not reflect current developments and may be changed or updated without notice. Any opinions expressed on this blog are the author’s own and do not necessarily reflect the views of the author’s employer or any other organization. You should not act or rely on any information contained in this blog without first seeking the advice of a professional. No representation or warranty, express or implied, is made as to the accuracy or completeness of the information contained in this blog. The author and affiliated parties assume no liability for any errors or omissions.