Learning augmented algorithm: Difference between revisions
Citation bot (talk | contribs) Altered isbn. Add: url, isbn. Upgrade ISBN10 to 13. | Use this bot. Report bugs. | Suggested by Dominic3203 | Category:Theoretical computer science | #UCB_Category 4/137 |
|||
Line 1: | Line 1: | ||
A '''learning augmented algorithm''' is an [[algorithm]] that can make use of a prediction to improve its performance.<ref name="MitzenmacherVassilvitskii2020">{{cite book | title = Beyond the Worst-Case Analysis of Algorithms | last1 = Mitzenmacher | author-link1 = Michael Mitzenmacher | first1 = Michael | last2 = Vassilvitskii | first2 = Sergei | chapter = Algorithms with Predictions | date = 31 December 2020 | pages = 646–662 | publisher = Cambridge University Press | doi = 10.1017/9781108637435.037 | arxiv=2006.09123 }}</ref> |
A '''learning augmented algorithm''' is an [[algorithm]] that can make use of a prediction to improve its performance.<ref name="MitzenmacherVassilvitskii2020">{{cite book | title = Beyond the Worst-Case Analysis of Algorithms | last1 = Mitzenmacher | author-link1 = Michael Mitzenmacher | first1 = Michael | last2 = Vassilvitskii | first2 = Sergei | chapter = Algorithms with Predictions | date = 31 December 2020 | pages = 646–662 | publisher = Cambridge University Press | doi = 10.1017/9781108637435.037 | arxiv=2006.09123 | isbn = 978-1-108-63743-5 }}</ref> |
||
Whereas in regular algorithms just the problem instance is inputted, learning augmented algorithms accept an extra parameter. |
Whereas in regular algorithms just the problem instance is inputted, learning augmented algorithms accept an extra parameter. |
||
This extra parameter often is a prediction of some property of the solution. |
This extra parameter often is a prediction of some property of the solution. |
||
Line 30: | Line 30: | ||
=== More examples === |
=== More examples === |
||
Learning augmented algorithms are known for: |
Learning augmented algorithms are known for: |
||
* The [[ski rental problem]]<ref name="WangLiWang2020">{{cite book | title=NIPS'20: Proceedings of the 34th International Conference on Neural Information Processing Systems | chapter = Online Algorithms for Multi-shop Ski Rental with Machine Learned Advice | date=2020 | isbn=1-71382-954- |
* The [[ski rental problem]]<ref name="WangLiWang2020">{{cite book | title=NIPS'20: Proceedings of the 34th International Conference on Neural Information Processing Systems | chapter = Online Algorithms for Multi-shop Ski Rental with Machine Learned Advice | date=2020 | isbn=978-1-71382-954-6 | oclc=1263313383 | arxiv = 2002.05808 | first1 = Shufan | last1 = Wang |
||
| first2 = Jian |
| first2 = Jian |
||
| last2 = Li |
| last2 = Li |
||
Line 52: | Line 52: | ||
| date = 2021 |
| date = 2021 |
||
}}</ref> |
}}</ref> |
||
* The weighted [[Page replacement algorithm#The (h,k)-paging problem|paging problem]]<ref name="BansalCoesterKumar2022">{{cite book | title = Proceedings of the 2022 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA) | last1 = Bansal | first1 = Nikhil | last2 = Coester | first2 = Christian | last3 = Kumar | first3 = Ravi | last4 = Purohit | first4 = Manish | last5 = Vee | first5 = Erik | chapter = Learning-Augmented Weighted Paging | date = January 2022 | pages = 67–89 | publisher = Society for Industrial and Applied Mathematics | doi = 10.1137/1.9781611977073.4 | arxiv = }}</ref> |
* The weighted [[Page replacement algorithm#The (h,k)-paging problem|paging problem]]<ref name="BansalCoesterKumar2022">{{cite book | title = Proceedings of the 2022 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA) | last1 = Bansal | first1 = Nikhil | last2 = Coester | first2 = Christian | last3 = Kumar | first3 = Ravi | last4 = Purohit | first4 = Manish | last5 = Vee | first5 = Erik | chapter = Learning-Augmented Weighted Paging | date = January 2022 | pages = 67–89 | publisher = Society for Industrial and Applied Mathematics | doi = 10.1137/1.9781611977073.4 | arxiv = | isbn = 978-1-61197-707-3 | url = https://ora.ox.ac.uk/objects/uuid:f8f430f4-23fd-49b9-9cf4-1c24230151cf }}</ref> |
||
== See also == |
== See also == |
Latest revision as of 02:25, 26 March 2025
A learning augmented algorithm is an algorithm that can make use of a prediction to improve its performance.[1] Whereas in regular algorithms just the problem instance is inputted, learning augmented algorithms accept an extra parameter. This extra parameter often is a prediction of some property of the solution. This prediction is then used by the algorithm to improve its running time or the quality of its output.
Description
[edit]A learning augmented algorithm typically takes an input . Here is a problem instance and is the advice: a prediction about a certain property of the optimal solution. The type of the problem instance and the prediction depend on the algorithm. Learning augmented algorithms usually satisfy the following two properties:
- Consistency. A learning augmented algorithm is said to be consistent if the algorithm can be proven to have a good performance when it is provided with an accurate prediction.[1] Usually, this is quantified by giving a bound on the performance that depends on the error in the prediction.
- Robustnesss. An algorithm is called robust if its worst-case performance can be bounded even if the given prediction is inaccurate.[1]
Learning augmented algorithms generally do not prescribe how the prediction should be done. For this purpose machine learning can be used.[citation needed]
Examples
[edit]Binary search
[edit]The binary search algorithm is an algorithm for finding elements of a sorted list . It needs steps to find an element with some known value in a list of length . With a prediction for the position of , the following learning augmented algorithm can be used.[1]
- First, look at position in the list. If , the element has been found.
- If , look at positions until an index with is found.
- Now perform a binary search on .
- If , do the same as in the previous case, but instead consider .
The error is defined to be , where is the real index of . In the learning augmented algorithm, probing the positions takes steps. Then a binary search is performed on a list of size at most , which takes steps. This makes the total running time of the algorithm . So, when the error is small, the algorithm is faster than a normal binary search. This shows that the algorithm is consistent. Even in the worst case, the error will be at most . Then the algorithm takes at most steps, so the algorithm is robust.
More examples
[edit]Learning augmented algorithms are known for:
- The ski rental problem[2]
- The maximum weight matching problem[3]
- The weighted paging problem[4]
See also
[edit]References
[edit]- ^ a b c d Mitzenmacher, Michael; Vassilvitskii, Sergei (31 December 2020). "Algorithms with Predictions". Beyond the Worst-Case Analysis of Algorithms. Cambridge University Press. pp. 646–662. arXiv:2006.09123. doi:10.1017/9781108637435.037. ISBN 978-1-108-63743-5.
- ^ Wang, Shufan; Li, Jian; Wang, Shiqiang (2020). "Online Algorithms for Multi-shop Ski Rental with Machine Learned Advice". NIPS'20: Proceedings of the 34th International Conference on Neural Information Processing Systems. arXiv:2002.05808. ISBN 978-1-71382-954-6. OCLC 1263313383.
- ^ Dinitz, Michael; Im, Sungjin; Lavastida, Thomas; Benjamin, Benjamin; Vassilvitskii, Sergei (2021). "Faster Matchings via Learned Duals". Advances in Neural Information Processing Systems (PDF). Curran Associates, Inc.
- ^ Bansal, Nikhil; Coester, Christian; Kumar, Ravi; Purohit, Manish; Vee, Erik (January 2022). "Learning-Augmented Weighted Paging". Proceedings of the 2022 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). Society for Industrial and Applied Mathematics. pp. 67–89. doi:10.1137/1.9781611977073.4. ISBN 978-1-61197-707-3.